package com.dao;

import com.Bean.Employee;
import com.Bean.VoBean.SocialUser;

import java.sql.SQLException;
import java.util.List;

public interface EmployeeDao extends Dao<Employee> {


    public Employee login(String userName, String password) throws IllegalAccessException, SQLException, InstantiationException;


    public Employee userLoginMobile(String phone) throws IllegalAccessException, SQLException, InstantiationException;

    public Employee sociaUser(SocialUser socialUser) throws IllegalAccessException, SQLException, InstantiationException;

    public Employee queryDataByUid(SocialUser socialUser) throws IllegalAccessException, SQLException, InstantiationException ;

    public int updateDataByid(Employee employee) throws IllegalAccessException, SQLException, InstantiationException ;


    public int insertSocialUser(Employee employee) throws IllegalAccessException, SQLException, InstantiationException ;

}
